package cloudPayAdmin.admin.dbapp.repo.hicatcard.distributor;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import cloudPayAdmin.admin.dbapp.entity.hicatcard.distributor.TDistributor;
import java.util.List;

public interface DistributorRepo extends JpaRepository<TDistributor, Long>, JpaSpecificationExecutor<TDistributor> {

    List<TDistributor> findByDistributorNumberAndEnable(String distributorNumber, Boolean enable);
}
